package bean;

/**
 * 交易记录对应的bean
 *
 * @author dsf
 */
public class DealRecord {
    private String dealRecordId;  //交易记录编号
    private String userId;  //交易用户编号
    private String actionType;  //交易类型，1为充值，0为消费
    private String money;  //交易金额
    private String actionTime;  //交易时间，默认为系统当前时间
    private String curBalance;//当前交易完成后的余额
    private String alipayStatus;//支付宝状态，0为不使用支付宝，1为发起支付但未经过成功验证，2支付成功

    public String getDealRecordId() {
        return dealRecordId;
    }

    public void setDealRecordId(String dealRecordId) {
        this.dealRecordId = dealRecordId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getActionType() {
        return actionType;
    }

    public void setActionType(String actionType) {
        this.actionType = actionType;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public String getActionTime() {
        return actionTime;
    }

    public void setActionTime(String actionTime) {
        this.actionTime = actionTime;
    }

    public String getCurBalance() {
        return curBalance;
    }

    public void setCurBalance(String curBalance) {
        this.curBalance = curBalance;
    }

    public String getAlipayStatus() {
        return alipayStatus;
    }

    public void setAlipayStatus(String alipayStatus) {
        this.alipayStatus = alipayStatus;
    }

    @Override
    public String toString() {
        return "DealRecord{" +
            "dealRecordId='" + dealRecordId + '\'' +
            ", userId='" + userId + '\'' +
            ", actionType='" + actionType + '\'' +
            ", money='" + money + '\'' +
            ", actionTime='" + actionTime + '\'' +
            ", curBalance='" + curBalance + '\'' +
            ", alipayStatus='" + alipayStatus + '\'' +
            '}';
    }
}
